From c5da4bee0df769a83bbebcfc4f105e5326f62987 Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Fri, 19 Aug 2022 12:05:20 -0500 Subject: Extracted all remaining strings to en.json - Changed SATS to SAT, and hours to hr to be more international - Edited conversion fee warning because it was incorrect (you only pay a fee if you're converting between BTC<->Liquid<->Lightning) --- src/routes/[username]/dashboard/+page.svelte | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'src/routes/[username]/dashboard') diff --git a/src/routes/[username]/dashboard/+page.svelte b/src/routes/[username]/dashboard/+page.svelte index d056399f..9b2b1c03 100644 --- a/src/routes/[username]/dashboard/+page.svelte +++ b/src/routes/[username]/dashboard/+page.svelte @@ -3,6 +3,7 @@ import { tick } from 'svelte'; import { AppHeader, Icon } from '$comp'; import { rate, user, preferredCurrency } from '$lib/store'; + import { _ } from 'svelte-i18n'; let payreq = '', payreqField, @@ -62,28 +63,29 @@ {#if !withdrawing} Bitcoin Price: {$rate ? btcPrice : 'fetching rate...'} + >{$_('user.dashboard.bitcoinPrice')} + {$rate ? btcPrice : $_('user.dashboard.fetchingRate')} {$preferredCurrency} Data from Binance. + >{@html $_('user.dashboard.dataFromBinance')}

- ACCOUNT BALANCE + {$_('user.dashboard.ACCOUNT_BALANCE')}

{$rate ? accountBalanceFiat : 'fetching rate...'}{$rate ? accountBalanceFiat : $_('user.dashboard.fetchingRate')} - {accountBalanceSats} SATS + {accountBalanceSats} SAT $_('user.dashboard.withdraw') -

You will be charged a 1% withdrawal fee on the amount.

+

{$_('user.dashboard.conversionFeeWarning')}

{:else}
- +